export interface Category {
  id: number
  name: string
  icon: string
  count: number
  description: string
}

export interface ProductItem {
  id: number
  name: string
  image: string
  categoryId: number
  era: '古代' | '近现代' | '当代'
  description: string
  startingPrice: number
  isFavorite: boolean
  addedTime: string
}

export interface CategoryConfig {
  namePrefix: string[]
  artists?: string[]
  materials?: string[]
  dynasties?: string[]
  calligraphers?: string[]
  eraOptions: ['古代' | '近现代' | '当代']
  priceRange: [number, number]
}

export type SortType = 'recommend' | 'price-asc' | 'price-desc' | 'newest'

export interface EraCounts {
  ancient: number
  modern: number
  contemporary: number
}
